package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * @Author：贾琦磊
 * @Date：2018/7/16
 * @Description：评论
 */
@Entity(value = "SundayComment",noClassnameStored = true)
public class SundayComment extends BaseMongoEntity{
    private Long productId;//房子id
    private String productName;//楼盘名称
    private String identity;//身份
    private String content;//内容
    private Integer rank;//等级
    private Long memberId;//用户id
    private String memberName;//用户姓名
    private Integer status;//评论状态0--未审核  1--审核通过  2--审核未通过

    public SundayComment(){}
    public SundayComment(Long productId,String identity,String content,Integer rank,Long memberId,Integer status){
        this.productId=productId;
        this.identity=identity;
        this.content=content;
        this.rank=rank;
        this.memberId=memberId;
        this.status=status;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }
}
